<?php

namespace app\validate;

use think\Validate;

/**
 * 人才库-注册企业库
 */
class ClueEnterprise extends Validate
{
    protected $rule = [
        'type|类型' => 'require|number',
        'aliasId|别名' => 'require',
        'page|页码' => 'require|number',
        'pageNum|每页条数' => 'require|number',
        'enterprise_name|企业名称' => 'requireWith:enterprise_name',
        'contacts|联系人' => 'requireWith:contacts',
        'mobile|联系电话' => 'requireWith:mobile',
        'area|所属区域' => 'requireWith:area',
        'area_level|区域等级' => 'requireWith:area',
        'establish_start_date|成立时间开始' => 'requireWith:establish_start_date',
        'establish_end_date|成立时间结束' => 'requireWith:establish_end_date',
        'allocation_start_date|开始分配时间' => 'requireWith:allocation_start_date',
        'allocation_end_date|结束分配时间' => 'requireWith:allocation_end_date',
        'qualifications_type|资质类别' => 'requireWith:qualifications_type',
        'secure_expire_start_date|安全时间开始' => 'requireWith:secure_expire_start_date',
        'secure_expire_end_date|安全时间结束' => 'requireWith:secure_expire_end_date',
        'create_start_date|开始创建时间' => 'requireWith:create_start_date',
        'create_end_date|结束创建时间' => 'requireWith:create_end_date',
        'new_communicate_start_date|最新沟通时间开始' => 'requireWith:new_communicate_start_date',
        'new_communicate_end_date|最新沟通时间结束' => 'requireWith:new_communicate_end_date',
        'communicate_content|沟通记录' => 'requireWith:communicate_content',
        'next_start_communicate_date|开始下次沟通时间' => 'requireWith:next_start_communicate_date',
        'next_end_communicate_date|结束下次沟通时间' => 'requireWith:next_end_communicate_date',
        'intention|意向结果' => 'requireWith:intention',
        'call|呼叫结果' => 'requireWith:call',
        'f_uid|负责人' => 'requireWith:f_uid',
        'status|订单状态' => 'requireWith:status',
        'is_f|是否分配' => 'requireWith:is_f',
    ];
}